package com.woniuxy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author：向天浩
 * @Date：2022/2/11 11:01
 * @Description :TODO
 */

@Controller
@RequestMapping("/test")
public class Test {

    @RequestMapping("/testone")
    public String testOne(Model model) {
        System.out.println("controller执行");
        model.addAttribute("msg","欢迎来到对抗路");
        return "success";
    }
}
